package com.mms.service.impl;

import com.mms.dao.UserMapper;
import com.mms.entity.service.impl.EntityServiceImpl;
import com.mms.pojo.User;
import com.mms.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by dan3652@sina.com on 2016-11-24 10:45.
 */
@Service
public class UserServiceImpl extends EntityServiceImpl<User> implements UserService {
    @Autowired(
            required = false
    )
    private UserMapper userDao;


    @Override
    public User selectByPrimaryKey(Integer id) {
        return this.userDao.selectByPrimaryKey(id);
    }
}
